@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/contest/record/record_add.js"]}){
<form id="recordForm" lay-filter="recordForm" class="layui-form model-form">
    <input name="openId" value="1105444347685486593" hidden/>
    <input name="deptId" value="1105444347685486593" hidden/>
    <div class="layui-form-item">
        <label class="layui-form-label">姓名<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="childName" placeholder="姓名" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">性别<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <select name="childGender" lay-verify="required">
                <option value="M">男</option>
                <option value="F">女</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">出生日期<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="birthday" name="childBirthdate" placeholder="出生日期" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">照片<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="photo" name="photoUrl"  type="hidden"/>
            <button type="button" class="layui-btn" id="upload">
                <i class="layui-icon">&#xe67c;</i>上传图片
            </button>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">家长信息</label>
        <div class="layui-input-block">
            <input name="parentName" placeholder="家长信息" type="text" class="layui-input"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">联系电话</label>
        <div class="layui-input-block">
            <input name="parentPhone" placeholder="联系电话" type="text" class="layui-input"/>
        </div>
    </div>
    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}
